html {
	font-size: 16px;
}



.paper {
	font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
	/* font-family: "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif; */
}

h2::before {
	content: "#";
	font-family: "sans serif";
	color: #f38181;
	margin-right: 5px;
}

h3::before {
	content: "#";
	font-family: "sans serif";
	color: #fce38a;
	margin-right: 5px;
}

body>*:first-child {
	margin-top: 0 !important;
}

body>*:last-child {
	margin-bottom: 0 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	position: relative;
	margin-top: 1rem;
	margin-bottom: 1rem;
	font-weight: bold;
	line-height: 1.4;
	cursor: text;
}

h1:hover a.anchor,
h2:hover a.anchor,
h3:hover a.anchor,
h4:hover a.anchor,
h5:hover a.anchor,
h6:hover a.anchor {
	text-decoration: none;
}

h1 tt,
h1 code {
	font-size: inherit;
}

h2 tt,
h2 code {
	font-size: inherit;
}

h3 tt,
h3 code {
	font-size: inherit;
}

h4 tt,
h4 code {
	font-size: inherit;
}

h5 tt,
h5 code {
	font-size: inherit;
}

h6 tt,
h6 code {
	font-size: inherit;
}

h1 {
	padding-bottom: .3em;
	font-size: 2.25em;
	line-height: 1.2;
	/* border-bottom: 1px solid #eee; */
}

h2 {
	padding-bottom: .3em;
	font-size: 1.75em;
	line-height: 1.225;
	/* border-bottom: 1px solid #eee; */
}

h3 {
	font-size: 1.5em;
	line-height: 1.43;
}

h4 {
	font-size: 1.25em;
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: 1em;
	color: #777;
}

p,
blockquote,
ul,
ol,
dl,
table {
	margin: 1.8em 0;
}

li>ol,
li>ul {
	margin: 0 0;
}

hr {
	height: 4px;
	padding: 0;
	margin: 16px 0;
	background-color: #e7e7e7;
	border: 0 none;
	overflow: hidden;
	box-sizing: content-box;
	border-bottom: 1px solid #ddd;
}

body>h2:first-child {
	margin-top: 0;
	padding-top: 0;
}

body>h1:first-child {
	margin-top: 0;
	padding-top: 0;
}

body>h1:first-child+h2 {
	margin-top: 0;
	padding-top: 0;
}

body>h3:first-child,
body>h4:first-child,
body>h5:first-child,
body>h6:first-child {
	margin-top: 0;
	padding-top: 0;
}

a:first-child h1,
a:first-child h2,
a:first-child h3,
a:first-child h4,
a:first-child h5,
a:first-child h6 {
	margin-top: 0;
	padding-top: 0;
}

h1 p,
h2 p,
h3 p,
h4 p,
h5 p,
h6 p {
	margin-top: 0;
}

li p.first {
	display: inline-block;
}

ul,
ol {
	padding-left: 30px;
}

ul:first-child,
ol:first-child {
	margin-top: 0;
}

ul:last-child,
ol:last-child {
	margin-bottom: 0;
}

blockquote {
	border-left: 4px solid #dddddd;
	padding: 0 15px;
	color: #777777;
}

blockquote blockquote {
	padding-right: 0;
}

table {
	/* padding: 0;
    word-break: initial;
	border-spacing: 0px;
	border-color: #cccccc; */
	display: block;
	width: 100%;
	overflow: auto;
	word-break: normal;
	word-break: keep-all;
	border-collapse: collapse;
	border-spacing: 0;
}

table tr {
	border-top: 1px solid #cccccc;
	margin: 0;
	padding: 0;
}

table tr:nth-child(2n) {
	background-color: #f8f8f8;
}

table tr th {
	font-weight: bold;
	border: 1px solid #cccccc;
	text-align: left;
	margin: 0;
	padding: 6px 13px;
}

table tr td {
	border: 1px solid #cccccc;
	text-align: left;
	margin: 0;
	padding: 6px 13px;
}

table tr th:first-child,
table tr td:first-child {
	margin-top: 0;
}

table tr th:last-child,
table tr td:last-child {
	margin-bottom: 0;
}

.task-list {
	padding-left: 0;
}

.task-list-item {
	padding-left: 32px;
}

.task-list-item input {
	top: 3px;
	left: 8px;
}

.mathjax-block>.code-tooltip {
	bottom: .375rem;
}

img {
	width: 100%;
	border-radius: 5px;
	display: block;
	margin-bottom: 15px;
	height: auto;
	transition: all .4s;
	/* box-shadow: 10px 10px 12px #777777; */
}

img:hover {
	box-shadow: 0px 0px 12px #777777;
}

hr {
	overflow: hidden;
	margin: 1rem 0;
	padding: 0;
	height: .125rem;
	border: none;
	background: #e7e7e7 repeating-linear-gradient(-45deg, #fff, #fff 0.25rem, transparent 0.25rem, transparent 0.5rem);
}

.paper a {
	position: relative;
	/* font-weight: 600; */
	text-decoration: none;
	/* color: rgba(0, 0, 0, 0.4); */
	color: #f38181;
	transition: color .3s ease;
}

.paper a::after {
	--scale: 0;
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 1px;
	background: #f38181;
	-webkit-transform: scaleX(var(--scale));
	transform: scaleX(var(--scale));
	-webkit-transform-origin: var(--x) 50%;
	transform-origin: var(--x) 50%;
	transition: -webkit-transform 0.3s cubic-bezier(0.535, 0.05, 0.355, 1);
	transition: transform 0.3s cubic-bezier(0.535, 0.05, 0.355, 1);
	transition: transform 0.3s cubic-bezier(0.535, 0.05, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.535, 0.05, 0.355, 1);
}

.paper a:hover::after {
	--scale: 1;
}
